<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>login</title>
    <script>
        var nickname;
        var name;
        var username;
        var name = isBlank(nickname) ?
            (isBlank(name) ?
                (isBlank(username) ? "NoName" : username)
                : name)
            : nickname;


        function isBlank(name) {
            return name === undefined || name == null || name.length === 0 || name === "";
        }
    </script>
</head>
<body>
<form action="login.html">
    <input type="text" name="username" title=""/>
    <input type="text" name="password" title=""/>
    <button type="submit">登陆</button>
</form>
</body>
</html>